package com.sx.utils;

public class Md5Test {
    public static void main(String[] args) {
        try {
            String password = "123456";
            String key = "YSX";
            String encrypted = Md5.md5(password, key);
            System.out.println("明文密码: " + password);
            System.out.println("密钥: " + key);
            System.out.println("加密结果: " + encrypted);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}